<!--
 * @Author: nns4
 * @Date: 2020-12-11 09:56:34
 * @LastEditors: nns4
 * @FilePath: /vue/src/views/test/index.vue
 * @Description: 
-->
<template>
    <div>

        <ul>
            <router-link tag="li" :to="{name:'testpage'}">过滤</router-link>
            <router-link tag="li" :to="{name:'axios'}">axios</router-link>
            <router-link tag="li" :to="{name:'vuex'}">vuex</router-link>
            <router-link tag="li" :to="{name:'await'}">等待数据使用</router-link>
            <router-link tag="li" :to="{name:'demo'}">跳入购物车</router-link>
            <router-link tag="li" :to="{name:'regular'}">正则</router-link>
            <router-link tag="li" :to="{name:'keyReload'}">子组件重新渲染</router-link>
            <router-link tag="li" :to="{name:'watch'}">watch用法</router-link>
            <router-link tag="li" :to="{name:'prop'}">父子传值prop</router-link>
            <router-link tag="li" :to="{name:'provide&inject'}">爸爸儿子孙子通讯</router-link>
            <router-link tag="li" :to="{name:'newVue'}">newVue通信方法</router-link>
            <router-link tag="li" :to="{name:'extend'}">Vue.extend()</router-link>
            <router-link tag="li" :to="{name:'event'}">$once</router-link>
            <router-link tag="li" :to="{name:'jumpself'}">jumpself</router-link>
        </ul>

    </div>
</template>

<script>
    export default {
        created() {
            let time = new Date().setHours(0, 0, 0, 0)
        }

    }
</script>

<style lang="less" scoped>
    ul {
        margin-left: 30px;

        li {
            list-style: decimal;
            cursor: pointer;
            color: blue;
        }
    }
</style>